package com.kaili.pojo.dto.appoint;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xjh
 * @ClassName EwbAppointAddBean
 * @Description 预约登记物品实体类
 * @Date 下午2:13 18-5-23
 * @Version 1.0
 */
@Data
public class AppointGoodsAddDTO {

    @NotNull(message = "货物名称不可为空")
    @ApiModelProperty("货物名称")
    private String goodsName;

    @NotNull(message = "包装类型代码不可为空")
    @ApiModelProperty("包装类型代码")
    private Integer packTypeCode;

    @NotNull(message = "件数不可为空")
    @ApiModelProperty("件数")
    private Integer piece;

    @NotNull(message = "重量不可为空")
    @ApiModelProperty("重量")
    private Double weight;

    @NotNull(message = "体积不可为空")
    @ApiModelProperty("体积")
    private Double vol;

    @ApiModelProperty("接货费")
    private Double deliveryCharge;
}
